[Setup]
AppName=Wallpaper Switcher
AppVerName=Wallpaper Switcher 1.0
AppPublisher=Thinking Thing Software
AppPublisherURL=http://www.thinkingthing.com
AppSupportURL=http://www.thinkingthing.com
AppUpdatesURL=http://www.thinkingthing.com
DefaultDirName={pf}\Wallpaper Switcher
DefaultGroupName=Wallpaper Switcher
OutputDir=..\_temp\installer\
OutputBaseFilename=wallpaper-switcher-setup
Compression=lzma
SolidCompression=yes
PrivilegesRequired=admin

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"

[Files]
Source: "..\_bin\win32_release\WallpaperSwitcher.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\Wallpaper Switcher"; Filename: "{app}\WallpaperSwitcher.exe"
Name: "{group}\{cm:ProgramOnTheWeb,Wallpaper Switcher}"; Filename: "http://www.thinkingthing.com"
Name: "{group}\{cm:UninstallProgram,Wallpaper Switcher}"; Filename: "{uninstallexe}"
Name: "{commonstartup}\Wallpaper Switcher"; Filename: "{app}\WallpaperSwitcher.exe"; Parameters: "/startup"

[Run]
Filename: "{app}\WallpaperSwitcher.exe"; Description: "{cm:LaunchProgram,Wallpaper Switcher}"; Flags: nowait postinstall skipifsilent

